﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="StandardNemoBlogPost.ascx.cs" Inherits="blackhouse.NemoBlog.Web.StandardNemoBlogPost" %>
<%@ Register Namespace="blackhouse.WebNemo.Web.Controls" Assembly="blackhouse.WebNemo.Web" TagPrefix="blackhouse" %>

<%@ Register Assembly="blackhouse.StareKino.Web" Namespace="blackhouse.StareKino.Web.Events" TagPrefix="blackhouse" %>
<%@ Register Src="~/Events/PostShare.ascx" TagPrefix="blackhouse" TagName="PostShare" %>
<%@ Register Src="~/Events/PostFreeApartments.ascx" TagPrefix="blackhouse" TagName="PostFreeApartments" %>



<div id="nemoPost" itemscope itemtype="http://schema.org/Blog">
    <article class="nemoPost" itemprop="blogPost" itemtype="http://schema.org/BlogPosting">
        <div id="blogHeader" class="topBlueHeader doubleLine">
            <div class="hgroup">
                <h1 itemprop="name">
                    <asp:Literal runat="server" ID="ltlPost"></asp:Literal>
                </h1>
                <h6>
                    <blackhouse:PostLiteralSubtitle ID="PostLiteralSubtitle1" runat="server" />
                </h6>
            </div>
            <div class="cleaner"></div>
        </div>

        <asp:Panel runat="server" ID="pnlActionPanel" Visible="false">
            <ul class="nemoblogadminmenu">
                <asp:PlaceHolder runat="server" ID="phRemoveLink" Visible="false">
                    <li>
                        <asp:LinkButton runat="server" ID="lnkRemove">Usuń</asp:LinkButton></li>
                </asp:PlaceHolder>
                <asp:PlaceHolder runat="server" ID="phPublishLink" Visible="false">
                    <li>
                        <asp:LinkButton runat="server" ID="lnkPublish">Opublikuj</asp:LinkButton>
                    </li>
                </asp:PlaceHolder>
                <asp:PlaceHolder runat="server" ID="phEditLink" Visible="true"></asp:PlaceHolder>
                <li>
                    <blackhouse:LinkToEdit runat="server" ID="lteEditPost" Text="Edytuj post" />
                </li>
            </ul>
            <div class="cleaner"></div>
        </asp:Panel>
        <div class="cleaner"></div>
        <asp:Repeater runat="server" ID="rptTags">
            <HeaderTemplate>
                <ul class="nemoPostTags">
            </HeaderTemplate>
            <ItemTemplate>
                <li><a href="<%#Eval("WellFormedUrl") %>" title="<%#Eval("Tag.Title") %>"><%#Eval("Tag.Name") %></a></li>
            </ItemTemplate>
            <FooterTemplate>
                </ul>

            </FooterTemplate>
        </asp:Repeater>
        <div class="nemoPostFirstPart">
            <blackhouse:PostShare runat="server" ID="PostShare" />
            <blackhouse:PostImagePhoto ID="PostImagePhoto1" runat="server" />
            <p class="nemoPostLid" itemprop="description">
                <blackhouse:PostLiteralLid ID="PostLiteralLid1" runat="server" />
            </p>
        <div class="cleaner"></div>
        </div>
        <div class="nemoPostAuthor">
            <span itemprop="author"><asp:Literal runat="server" ID="ltlPublisher"></asp:Literal></span> ~ <span itemprop="dateCreated" datetime="<asp:Literal runat="server" ID="ltlIsoPublishDate" />"><asp:Literal runat="server" ID="ltlPublishDate"></asp:Literal></span>
        </div>
        <div class="nemoPostContent" itemprop="articleBody">

            <asp:Literal runat="server" ID="ltlPostContent"></asp:Literal>
        </div>
        <div class="cleaner"></div>
        <blackhouse:PostFreeApartments runat="server" ID="PostFreeApartments" />
        <asp:Panel runat="server" Visible="true" ID="pnlSimilarPosts" CssClass="nemoPostOtherArticles">
            <h4><%=GetGlobalResourceObject("Blog", "seeMore")%></h4>
            <asp:Repeater runat="server" ID="rptSimilarPosts">
                <HeaderTemplate>
                    <ul>
                </HeaderTemplate>
                <ItemTemplate>
                    <li><a href="<%#Eval("WellFormedUrl") %>" title="<%#Eval("Post.Title") %>"><%#Eval("ShortTitle") %></a></li>
                </ItemTemplate>
                <FooterTemplate></ul></FooterTemplate>
            </asp:Repeater>
        </asp:Panel>
    </article>
</div>
